package com.ruoyi.rocky.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 车辆信息对象 pc_vehicles
 */

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("pc_vehicles")
@ApiModel(value = "PcVehicles", description = "车辆信息表")
@AllArgsConstructor
public class PcVehicles extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    @Excel(name = "车牌号")
    private String licensePlate;

    /**
     * 车辆品牌
     */
    @ApiModelProperty(value = "车辆品牌")
    @Excel(name = "车辆品牌")
    private String brand;

    /**
     * 车辆型号
     */
    @ApiModelProperty(value = "车辆型号")
    @Excel(name = "车辆型号")
    private String model;

    /**
     * 车辆颜色
     */
    @ApiModelProperty(value = "车辆颜色")
    @Excel(name = "车辆颜色")
    private String color;

    /**
     * 车辆照片
     */
    @ApiModelProperty(value = "车辆照片")
    @Excel(name = "车辆照片")
    private String vehiclePhoto;

    /***
     * 车架号照片
     */
    @ApiModelProperty(value = "车架号照片")
    @Excel(name = "车架号照片")
    private String vinPhoto;

    /**
     * 行驶证照片
     */
    @ApiModelProperty(value = "行驶证照片")
    @Excel(name = "行驶证照片")
    private String registrationPhoto;


    /**
     * 车辆状态 1=正常 0=删除
     */
    @ApiModelProperty(value = "车辆状态 1=正常 0=删除")
    @Excel(name = "车辆状态 1=正常 0=删除")
    private Integer status;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user")
    private Integer createUser;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    @TableField(value = "update_user")
    private Integer updateUser;

   /* *//**
     * 创建时间
     *//*
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    *//**
     * 修改时间
     *//*
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "update_time")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;*/



}
